package com.xy.excel;

import com.xy.service.ExhibitionUserService;
import com.xy.service.ICertificateApplyService;
import lombok.RequiredArgsConstructor;
import org.springblade.core.excel.support.ExcelImporter;

import java.util.List;

/**
 * @author guojian
 */
@RequiredArgsConstructor
public class ExhibitionUserImporter implements ExcelImporter<ExhibitionUserExcel>  {
	private final ExhibitionUserService exhibitionUserService;
	private final Boolean isCovered;
	private final  String type;
	@Override
	public void save(List<ExhibitionUserExcel> data) {
		exhibitionUserService.importPeData(data,isCovered,type);
	}
}
